importScripts("../../src/javascript/alex.core.js", "../../src/javascript/alex.service.js");

new alex.service.Service("helloService", {
    hello: function(name){
        alex.service.parent.logService.log("name:" + name);
        return "Hello, " + name;
    },
    hello2: function(name){
        alex.service.parent.logService2.log("name:" + name);
        return "Hello again, " + name;
    },
	_helloPrivate: function() {
		
	},
    async_helloAsync: function(callback, name){
        setTimeout(function(){
            callback("async:Hello, " + name);
        }, 200);
    }
});

